package com.buba.system.service.impl;

import com.buba.system.pojo.SystemUsers;
import com.buba.system.service.UserService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @Author: 游王子
 * @date: 2021/8/19 11:58
 */
@Service("UserServiceImpl")
public class UserServiceImpl implements UserService {
    @DubboReference
    private UserService userService;

    @Override
    public SystemUsers login(SystemUsers systemUsers) {
        return userService.login(systemUsers);
    }

    @Override
    public Integer register(SystemUsers systemUsers) {
        return userService.register(systemUsers);
    }
}
